package thomas.javase.jooq;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class Student implements Serializable {

    private int id;
    private String name;
    private List<Integer> teacherIds;
    private List<String> classes;

    public Student(int id, String name, List<Integer> teacherIds, List<String> classes){
        this.id = id;
        this.name = name;
        this.teacherIds = teacherIds;
        this.classes = classes;
    }
}
